package cn.com.tbshuda.mysql.mysql.mapper;

/**
 * @author: wsd
 * @date: 2021/8/19 10:08
 */
import cn.com.tbshuda.mysql.mysql.entity.Upload;
import cn.com.tbshuda.mysql.mysql.packet.User;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

@Mapper
public interface UserMapper extends BaseMapper<User> {
    IPage<User> selectPageVo(Page<?> page, Integer state);

    void savePath(Upload upload);

    List<Upload> getDocList(String name);

    List<Upload> getDocListByIds(List imageIds);
}
